<template>
  <div class="page-cont">
    <van-nav-bar
      title="视频播放"
      left-arrow
      @click-left="$router.go(-1)"
    />
    <div class="list">
      <van-cell
        title="物料1"
        center
        is-link
        @click="playerVideo"
      >
        <template #right-icon />
        <van-button
          plain
          type="info"
          size="small"
        >
          立即播放
        </van-button>
      </van-cell>
    </div>
  </div>
</template>

<script>
export default {
  name: "PlayerPage",
  data() {
    return {};
  },
  methods: {
    playerVideo() {
      this.$router.push({
        path: "/player/video", query: {
          url: "http://47.98.107.249:6080/upload/file/202210/0m28pbc0fcgpao2pgtg2hmlosg.mp4"
        }
      });
    }
  }
};
</script>

<style lang="scss" scoped>
@import "./style.scss";
</style>
